<extend name="Public/base" />

<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title cf">
        <h2>查看 [{$model['title']}]</h2>
    </div>
    <!-- 标签页导航 -->
<div class="tab-wrap">
    <ul class="tab-nav nav">
			<volist name=":parse_config_attr($model['field_group'])" id="group">
			<li data-tab="tab{$key}" <eq name="key" value="1">class="current"</eq>><a href="javascript:void(0);">{$group}</a></li>
			</volist>
    </ul>
    <div class="tab-content">
		<div id="tab" class="tab">
                <div class="form-item cf">
                    <label class="item-label" style=" font-size:14px; line-height:20px; color:#328dd3; font-weight:bolder;">标题:<span class="check-tips"><notempty name="field['remark']">（{$field['remark']}）</notempty></span></label>
                    <div class="controls" style="font-size: 14px; line-height:20px;">
                        {$data.title}
                    </div>
                </div>
               <div class="form-item cf">
                    <label class="item-label" style=" font-size:14px; line-height:20px; color:#328dd3; font-weight:bolder;">内容:<span class="check-tips"><notempty name="field['remark']">（{$field['remark']}）</notempty></span></label>
                    <div class="controls" style="font-size: 14px; line-height:20px;">
                        {$data.contents}
                    </div>
                </div>
                <div class="form-item cf">
                    <label class="item-label" style=" font-size:14px; line-height:20px; color:#328dd3; font-weight:bolder;">时间:<span class="check-tips"><notempty name="field['remark']">（{$field['remark']}）</notempty></span></label>
                    <div class="controls" style="font-size: 14px; line-height:20px;">
                        {$data.fcd|date='Y-m-d H:i',###}
                    </div>
                </div>
        </div>
        <div class="form-item cf" style=" margin-top:10px;">
            <a class="btn btn-return" onclick="javascript:history.back();return false;">返 回</a>
        </div>
    </div>
</div>
</block>

<block name="script">
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
$(function(){
	$('.time').datetimepicker({
        format: 'yyyy-mm-dd hh:ii',
        language:"zh-CN",
        minView:2,
        autoclose:true
    });
    $('.date').datetimepicker({
        format: 'yyyy-mm-dd',
        language:"zh-CN",
        minView:2,
        autoclose:true
    });
    showTab();
});
</script>
</block>
